package com.ruoyi.system.mapper;

import com.ruoyi.common.core.domain.entity.*;

import java.util.List;

/**
 * 用户表 数据层
 * 
 * @author ruoyi
 */
public interface LeftoverOutMapper
{
    /**
     * 根据条件分页查询用户列表
     * 
     * @param leftoverOutDetail 用户信息
     * @return 用户信息集合信息
     */
    List<LeftoverOutDetail> selectLeftoverOutList(LeftoverOutDetail leftoverOutDetail);


    LeftoverOutDetail selectLeftoverByTableId(String tableId);

    int updateLeftover(LeftoverOutDetail leftoverOutDetail);

    void insertLeftoverOut(LeftoverOut leftoverOut);

    void insertLeftoverOutDetail(LeftoverOutDetail leftoverOutDetail);

    int updateLeftoverOutState(LeftoverOut leftover);

    int[] selectData(String material);

    List<OutChart> selectLeftoverOutChart(LeftoverOutDetail leftoverOutDetail);

    LeftoverOutDetail selectLeftoverOutDetailByTableId(String tableId);
}
